export const searchItemList: Array<SuperSearch.SearchItem> = [
  {
    type: "input",
    label: "账期名称",
    keyName: "accountName"
  }
];

// 列表
export const tableColumn: Array<SuperTable.TableCoulmnItem | SuperTable.NestTableColumnItem> = [
  {
    field: "accountName",
    title: "账期",
    minWidth: "140"
  },
  {
    field: "type",
    title: "结算周期",
    minWidth: "120",
    renderSlot: "type"
  },
  {
    field: "days",
    title: "结算日",
    minWidth: "120",
    formatter: ({ cellValue }: any) => {
      return `第${cellValue}天`;
    }
  },
  {
    field: "status",
    title: "状态",
    minWidth: "90",
    renderSlot: "status"
  },
  {
    field: "action",
    title: "操作",
    minWidth: "180",
    renderSlot: "action"
  }
];
